<?php

class BoatArray 
{
        private $boats = array();
        
        public function __construct()
		{
                
        }
        
        public function Add(Boat $boat)
		{
                $this->boats[] = $boat; 
        }
        
        public function Get() 
        {
                return $this->boats;
        }
}

class Boat
{
        private $boat_id;
        private $member_id; 
        private $type; 
        private $lenght;

        
        public function __construct($boat_id, $member_id, $type, $lenght)
		{
                $this->boat_id = $boat_id;
                $this->member_id = $member_id;
				$this->lenght = $lenght;
				$this->type = $type;
        }
        
        public function GetID() 
        {
       		return $this->boat_id;
        }
        
        public function GetMemberID()
		{
        	return $this->member_id;
        }
        
        public function GetLenght() 
        {
        	return $this->lenght;                         
        }
		
		public function GetType()
		{
			return $this->type;
		}
			
}